<template>
  <div class="common-layout">
    <el-container style="width: 100%;height: 100%;">
      <el-header>
        <el-page-header :icon="null" style="height: 100%;" title="这是什么">
          <template #content>
            <div class="flex items-center" style="display: flex;align-items: center;">
              <el-avatar :size="32" class="mr-3"
                src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" />
              <span class="text-large font-600 mr-3"> Title </span>
              <span class="text-sm mr-2" style="color: var(--el-text-color-regular)">
                Sub title
              </span>
            </div>
          </template>
        </el-page-header>
      </el-header>
      <el-container>
        <el-aside width="200px" style="background-color: #333;">
          <Aside></Aside>
        </el-aside>
        <el-main style="background-color: #999;">
        <BreadCrumb></BreadCrumb>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>


<script setup lang="ts">
import Aside from '@/components/Layout/AsideMenu/index.vue'
import BreadCrumb from "@/components/Layout/BreadCrumb/index.vue"
import { ref } from 'vue'
const flag = ref(true)


</script>

<style lang="less" scoped>
.common-layout {
  width: 100%;
  height: 100%;
  text-align: center;
}
::v-deep .el-page-header__header{
  height: 100%;
  justify-content:end;
}
</style>
